clear
clc

eos_summary = zeros(4092, 1);
own_elast_summary = zeros(4092, 1);

for i_k = 1:4092

filename_matlab = sprintf('data/firm_size_distribution/results/elasticities/elast_%i_k.mat', i_k);  
load(filename_matlab);

eos_summary(i_k, 1) = eos_median;
own_elast_summary(i_k, 1) =  own_elast_median;

end

csvwrite('data/firm_size_distribution/eos_summary.csv', eos_summary)
csvwrite('data/firm_size_distribution/own_elast_summary.csv', own_elast_summary)

